<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="estateTag" prefix="estateTag" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>广告位权重管理</title>
<script type="text/javascript" src="<%=basePath%>resource/js/jquery-1.4.2.js"></script>
<link rel="stylesheet" type="text/css" href="<%=basePath%>resource/css/easyui/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>resource/css/easyui/icon.css">
<link rel="stylesheet" href="<%=basePath%>resource/css/brandannocument_new.css" type="text/css"></link>
<script type="text/javascript" src="<%=basePath%>resource/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="<%=basePath%>resource/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript"	src="<%=basePath%>resource/js/easyui/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="<%=basePath%>brand/brandannocument_new.js"></script>
</head>
<body><estateTag:security></estateTag:security>
	<center><jsp:include page="../index/top.jsp"></jsp:include>
	<div id="funcArea" class="funcArea">
		<h3>您所在的位置：首页信息模块-&gt;&gt;广告位权重管理</h3>
		<s:iterator value="rows" status="stat">
			<div class="func" align="center" id="<s:property value="#stat.index+1"/>_func" bid="<s:property value="id" />">
				<img src="<%=basePath%>resource/css/easyui/icons/edit_remove.png" class="modify"/>
				<img width="160px" height="40px" src="<%=basePath%><s:property value="imgsrc" />"/><br/>
				<span style="border-bottom:1px solid #ECECEC;"><s:property value="name" /></span><br/>
				<span>序号：<b id="<s:property value="id" />_index"><s:property value="#stat.index+1"/></b><input type="hidden" id="weight_<s:property value="id" />" value="<s:property value="auding" />"/></span>
			</div>
		</s:iterator>
	</div>
	<center><iframe src="../index/footer.html" width="970" height="120" frameborder="0" scrolling="no"></iframe></center>
	<div id="modifyWindow">
		<table width="100%" height="100%">
			<tr>
				<td>
					修改序号
				</td>
				<td>
					<input type="text" id="weightValue" />
					<input type="hidden" id="brandIndex" />
				</td>
			</tr>
		</table>
	</div>
	
	<div id="brandWindow">
		<table width="100%">
			<tr>
				<td>
					品牌名称：
				</td>
				<td>
					<input type="text" id="brandName" /><input type="hidden" id="bid" /><input type="hidden" id="bweight" />
				</td>
				<td><input type="button" onclick="seachByKeyWord()" value="搜索"/></td>
			</tr>
		</table>
		<div id="resultBrands" >
		</div>
	</div>
</body>
</html>